package com.rfid.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物品信息对象 rfid_product
 * 
 * @author ruoyi
 * @date 2022-12-29
 */
public class RfidProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物品id */
    private String id;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String name;

    /** 物品占用大小 */
    @Excel(name = "物品占用大小")
    private Long size;

    /** 物品类型 */
    @Excel(name = "物品类型")
    private String category;

    /** 物品状态 0-已入库 1-已出库 2-允许通过 3-物品存储时间到期 */
    @Excel(name = "物品状态 0-已入库 1-已出库 2-允许通过 3-物品存储时间到期")
    private Integer status;

    /** 物品存储图片 */
    @Excel(name = "物品存储图片")
    private String image;

    /** 物品epc码 */
    @Excel(name = "物品epc码")
    private String epc;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creatBy;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSize(Long size)
    {
        this.size = size;
    }

    public Long getSize()
    {
        return size;
    }
    public void setCategory(String category)
    {
        this.category = category;
    }

    public String getCategory()
    {
        return category;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setEpc(String epc)
    {
        this.epc = epc;
    }

    public String getEpc()
    {
        return epc;
    }
    public void setCreatBy(String creatBy)
    {
        this.creatBy = creatBy;
    }

    public String getCreatBy()
    {
        return creatBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("size", getSize())
                .append("category", getCategory())
                .append("status", getStatus())
                .append("image", getImage())
                .append("epc", getEpc())
                .append("creatBy", getCreatBy())
                .toString();
    }
}
